home *** CD-ROM | disk | FTP | other *** search
- clcat - textfiles information
- =============================
-
- To change the textoutput from connectline online commands, there is
- need of some simple knowledgement. The following informations gives
- it to you. So you can easily change the output of your commands
- as you like it, with your favourite colours and your provided kind
- of text, or simply in another language.
-
- Tokens in .clcat-Texten:
- ------------------------
-
- $(DATE{fmt}) Insert current date with locale.library's FormatDate()
- (e.g. "$(DATE{%c})")
- $(ENV{name}) Insert value of ENV variable (e.g. "$(ENV{USERNAME})")
- $(FILE{name}) Insert file (max. 1024 chars)
- $(FF) Insert FormFeed (^L, 0x0c)
- $(BELL) Insert Bell (^G, 0x07)
- $(BOLD) Insert ANSI bold sequence
- $(ITALIC) Insert ANSI italic sequence
- $(UNDERLINE) Insert ANSI underline sequence
- $(NORMAL) Insert ANSI normal sequence
- $(COL{num}) Insert ANSI color select sequence (e.g. "$(COL{1})")
- $(BCOL0{num}} Insert ANSI background color select sequence
-
- ANSI Colours:
- -------------
-
- Black 0
- Red 1
- Green 2
- Yellow 3
- Blue 4
- Pink 5
- Cyan 6
- White 7
-
- Formatstring definition:
- ------------------------
-
- FormatString - a "C"-language-like NULL terminated format
- string, with the following supported % options:
-
- %[flags][width.limit][length]type
-
- flags - only one allowed. '-' specifies left justification.
-
- width - field width. If the first character is a '0', the field
- will be padded with leading 0's.
-
- . - must follow the field width, if specified
-
- limit - maximum number of characters to output from a string.
- (only valid for %s).
-
- length - size of input data defaults to WORD for types d, x, and
- c, 'l' changes this to long (32-bit).
-
- type - supported types are:
-
- b - BSTR, data is 32-bit BPTR to byte count followed
- by a byte string, or NULL terminated byte string.
- A NULL BPTR is treated as an empty string.
- (Added in V36 exec)
-
- d - decimal
-
- u - unsigned decimal (Added in V37 exec)
-
- x - hexadecimal
-
- s - string, a 32-bit pointer to a NULL terminated
- byte string. In V36, a NULL pointer is treated
- as an empty string
-
- c - character
-